{extend name="../front" /}
{block name="head"}<title>推荐文章－{:config('site.name')}</title>
<meta name="keywords" content="精华文章,推荐文章,精品笔记" />
<meta name="description" content="{:config('site.name')}值得收藏的文章列表！" />{/block}
{block name="main"}
<main class="container">
  <div class="card card-with">
    <div class="card-body">
      <h2 class="card-title">推荐文章</h2>
      {volist name=":model('blog/Index','loglic')->all([
          'field'  => 'detail_id,detail_name,detail_slug,detail_excerpt,detail_create_time',
          'limit'  => 100,
          'cache'  => config('cache.expire_items'),
          'order'  => [
              'detail_id' => 'asc',
          ],
          'where'  => [
              ['detail_status','eq','normal'],
              ['detail_module','eq','blog'],
              ['detail_recommend','eq',1],
          ],
      ])" id="item"}
      {include file='item' /}
      {/volist}
    </div>
  </div>
</main>
{/block}